package com.xinqi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xinqi.common.R;
import com.xinqi.pojo.bean.User;
import com.xinqi.pojo.vo.LoginVo;
import com.xinqi.pojo.vo.UserInfoVo;

/**
 * @author xin麒
 * @date 2023/1/14 20:32
 */
public interface UserService extends IService<User> {
    R<User> register(User user);

    R<UserInfoVo> login(LoginVo loginVo);
}
